import { configureStore } from '@reduxjs/toolkit';
import { authReducer, imageEditReducer, audioReducer } from './slices';

// 创建store
const store = configureStore({
  reducer: {
    auth: authReducer,
    imageEdit: imageEditReducer,
    audio: audioReducer
  }
});

export default store;

// 重新导出所有actions、selectors和thunks，保持向后兼容
export * from './slices';
export * from './thunks';